/*
 * ISignModel.java
 * business
 *
 * Created by SunDing on 2016/12/29.
 *
 * Copyright (c) 2016年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.data.model;

import com.yidiandao.business.ui.widget.listview.DisplayListItem;

import java.util.List;

/**
 * 签到抽奖相关
 */
public interface ISignModel {

    /**
     * 抽奖记录
     */
    void getRaffleRecord(String tag, boolean isRefresh, onLoadRecordListener listener);

    interface RaffleType {
        String SUCCESS = "1";
        String FAILED = "0";
    }

    interface onLoadRecordListener {

        void onSuccess(
                List<DisplayListItem> listItems,
                String count,
                boolean emptyResult,
                boolean hasMoreData);

        void onFailed();

        void onFinal();
    }
}
